home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4414 < prev    next >
Encoding:
Text File  |  1996-08-05  |  875 b   |  23 lines

  1. Newsgroups: comp.lang.c
  2. Path: news3.noc.netcom.net!zdc!zippo!usenet
  3. From: Kenny Sanders <SandersK@cs.cofc.edu>
  4. Subject: gettimeofday system call problem
  5. Content-Type: text/plain; charset=us-ascii
  6. Sender: usenet@news.zippo.com
  7. Content-Transfer-Encoding: 7bit
  8. Nntp-Posting-Host: edisto.cofc.edu
  9. Organization: VIA Information Access
  10. Message-ID: <31142A12.70D9@cs.cofc.edu>
  11. X-Mailer: Mozilla 2.0b6a (Win95; I)
  12. Mime-Version: 1.0
  13. Date: Sun, 4 Feb 1996 03:37:54 GMT
  14.  
  15. I am new to C and have a problem.
  16. I need to use the gettimeofday system call to output the time in
  17. month, day, hr, min, Am or Pm under a ultrix unix system, I can do it 
  18. with the other calls like ctime and time_t but cant figure out the 
  19. gettimeofday(arg1, arg2) with its 2 arguments vs all the others.
  20. And of course their is no documentation for it at my local edu
  21. any help would be thankfull
  22. sandersk@cs.cofc.edu
  23.